﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace dome
{
    public partial class guanliyuan : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //常用lock和unlock方法用来锁定和解锁，为了防止并发修改。
            //当多人访问时需要加锁解锁
            //Application.Lock();
            //Label1.Text = Application["name"].ToString();
            //Application.UnLock();
            //Session传值
            Label1.Text = Session["name"].ToString();
        }
    }
}